package com.ess.project.examine.personnel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ess.framework.web.domain.AjaxResult;
import com.ess.project.examine.personnel.domain.ExaminePersonnelEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @Description:
 * @Date: Created in 10:41 上午 2021/3/17
 * @Author: daihui
 * @Modified By:
 */
public interface IPersonnelService extends IService<ExaminePersonnelEntity> {

    List<ExaminePersonnelEntity> selectPersonnelList(ExaminePersonnelEntity personnel);

    int deletePersonnelByIds(String ids);

    int changeStatus(ExaminePersonnelEntity personnel);

    int updatePersonnel(ExaminePersonnelEntity personnel);

    String checkPersonnelNameUnique(String examPersonnel);

    int insertPersonnel(ExaminePersonnelEntity personnel);

    void export(ExaminePersonnelEntity personnel, HttpServletResponse response);

    ExaminePersonnelEntity selectPersonnelById(Integer personnelId);

    String importPersonnel(List<ExaminePersonnelEntity> userList, boolean updateSupport);
}
